package com.njtoyo.taxi.admin.rest.presenter.local_service.commodity;

import com.njtoyo.taxi.admin.mapper.master.enums.local_service.LifeMerchantCommodityState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CommodityExaminePagePresenter {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "商品类型ID")
    private Long commodityCategoryId;

    @ApiModelProperty(value = "商品类型名称")
    private String commodityCategoryName;

    @ApiModelProperty(value = "商品是否自动审核")
    private Boolean commodityAutoReview;

    @ApiModelProperty(value = "商家ID")
    private Long merchantId;

    @ApiModelProperty(value = "商家名称")
    private String merchantName;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品状态 0:waiting_for_review[待审核],1:review_failed[审核未通过],2:review_approved[审核已通过(未上架)],3:on_shelf[已上架],4:freeze_up[冻结]")
    private LifeMerchantCommodityState state;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;

}
